package com.lilingguo.easyserver.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Server端配置
 *
 * @Author: 黎铃果
 * @Date: 2020/5/28 16:23
 */
@Data
@Component
@ConfigurationProperties(
        prefix = "easyserver.server"
)
public class ServerProperties {

    /**
     * 服务注册地址
     */
    private String address = "localhost:17425";

}
